package thirt.component
{
	import flash.display.Sprite;

	public class ColorSprite extends Sprite
	{
		private var _color:uint;
		public var data:Object;
		public function ColorSprite()
		{
			super();
		}
		public function set color(value:uint):void{
			this._color = value;
			this.graphics.clear();
			this.graphics.beginFill(value,1);
			this.graphics.drawRoundRect(0,0,14,14,6,6);
			this.graphics.endFill();
		}
		public function get color():uint{
			return this._color;
		}
	}
}